.app {
  width: 80%;
  display: flex;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

header {
  width: 100%;
}
/* 【1】header */
/* 1.1 导航条 */
header > nav {
  display: flex;
  height: 90px;
  color: white;
  justify-content: space-between;
  padding-top: 15px;
}
header > nav {
  font-size: 24px;
  font-weight: 600;
}
.other {
  height: 5px;
  width: 30px;
  background-color: white;
  /* 自带属性 */
  /* 会让content内容从背景开始，所以padding才有作用 */
  background-clip: content-box;
  box-sizing: content-box;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-right: 10px;
}
.other > a {
  width: 200px;
  height: 50px;
  line-height: 34px;
  font-size: 16px;
  background-color: #1289a7;
  padding: 5px;
  z-index: 99;
  border: 3px solid white;
  border-radius: 15px;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}
.other :nth-child(1) {
  position: absolute;
  top: 0;
  left: -200px;
}
.other :nth-child(2) {
  position: absolute;
  top: 100px;
  left: -200px;
}
.other :nth-child(3) {
  position: absolute;
  top: 50px;
  left: -200px;
}
.other:hover a {
  visibility: visible;
  opacity: 1;
}
/* 1.2 导入轮播图 */
header .imgbox {
  width: 100%;
  height: 200px;
}
/* 1.3 广告 */
.advertisement {
  width: 100%;
  height: 40px;
  background-color: rgb(12, 36, 97);
  margin-top: 15px;
  border-radius: 15px;
}
.advertisement a {
  font-size: 16px;
  /* 取消下划线 */
  text-decoration: none;
  color: white;
  line-height: 40px;
  padding-left: 30px;
}

/* 【2】main */
main {
  width: 100%;
}
.goods {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* 文本详情不显示，只显示标题 */
.goods .box .content p {
  display: none;
}
.goods .box .content h4 {
  font-size: 14px;
}
/* 设置边框大小 */
main .goods .box {
  flex: 0 0 45%;
  height: 150px;
}

/* footer */
footer {
  width: 100%;
  background-color: rgb(12, 36, 97);
  margin-top: 40px;
  padding-bottom: 40px;
}
.introduce {
  width: 80%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
}
.introduce a {
  color: white;
  font-weight: 700;
  padding: 3px 0;
}
.share {
  padding-bottom: 15px;
  border-bottom: 1px solid white;
}
.about {
  color: black;
  font-weight: 700;
  padding: 3px 0;
}
.share,
.more,
.about {
  display: flex;
  flex-direction: column;
  /* margin-right: 30px; */
}
.share :nth-child(1),
.more :nth-child(1),
.about :nth-child(1) {
  margin: 20px 0;
}
